void writeXPM(double **data, int height, int width, char* filename); 
